package com.sd.repay.auth.channel;

import com.sd.repay.pojo.RealAuthRecord;
import org.springframework.stereotype.Service;

@Service
public abstract class BaseRealAuth {

    public final int timeOut = 40000;

    /**
     * 二要素认证
     *
     * @param authRecord 认证要素
     * @return
     */
    public abstract void twoElementsCheck(RealAuthRecord authRecord);


    /**
     * 三要素认证
     *
     * @param authRecord 认证要素
     * @return
     */
    public abstract void threeElementsCheck(RealAuthRecord authRecord);


    /**
     * 四要素认证
     *
     * @param authRecord 认证要素
     * @return
     */
    public abstract void fourElementsCheck(RealAuthRecord authRecord);
}
